package com.mail.dubbo.mapper;

import com.mail.model.db.SmsHomeAdvertise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 首页轮播广告表 Mapper 接口
 * </p>
 *
 * @author WJZ
 * @since 2022-06-20
 */
public interface SmsHomeAdvertiseMapper extends BaseMapper<SmsHomeAdvertise> {
@Update("update sms_home_advertise set status=#{status} where id=#{id}")
    void updateStatusById(@Param("id") Long id, @Param("status") Integer status);
}
